#ifndef ADDDIALOG_H
#define ADDDIALOG_H

#include <QtGui/QDialog>
#include "ui_adddialog.h"

class AddDialog : public QDialog
{
    Q_OBJECT

public:
    AddDialog(QWidget *parent = 0);
    ~AddDialog();

    QString name() { return ui.NameEdit->text(); }
    QString email() { return ui.EmailEdit->text(); }

private:
    Ui::AddDialogClass ui;

};

#endif // ADDDIALOG_H
